package com.gw.vip.server.enums;

/**
 * @author GW
 * @date 2021-12-21
 * @description
 */
public enum TxnTypeEnums {
    /**
     * 交易类型
     */
    PRE_CHARGE("preCharge", "预充值"),
    CHARGE("charge", "充值"),
    CANCEL_PRE_CHARGE("cancelPreCharge", "预充值取消"),
    SALE("sale", "消费"),
    CASH("cash", "提现"),
    PRIVATE_CASH("privateCash", "私车提现"),
    REFUND("refund", "退款"),
    AUTH("auth", "预授权"),
    CANCEL_AUTH("cancelAuth", "预授权取消"),
    COMPLETE_AUTH("completeAuth", "预授权完成"),
    OPEN("open", "开户"),
    VIP_FEE("vipFee", "服务费"),
    VIP_FEE_REFUND("vipFeeRefund", "服务费退款");

    String key;
    String value;

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    TxnTypeEnums(String key, String value){
        this.key = key;
        this.value = value;
    }
}
